package frame.options.simulation.results.virtualNetworks.graphical;

import model.components.nodes.node.Node;

import org.apache.commons.collections15.Transformer;

public class VirtualNodeLabelTransformer implements Transformer< Node, String >
{
	@Override
	public String transform( Node node )
	{
		if( node.isSelected() )
			return node.getName();
		else
			return null;
	}

}
